package cn.masterj.springcloud.controller;

import cn.masterj.springcloud.service.IProviderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author masterJ
 * @create 2020-04-15 21:26
 */
@RestController
public class ProviderController {

    @Autowired
    private IProviderService providerService;

    @GetMapping("/send")
    @ResponseBody
    public String send(){
        return  providerService.send();
    }
}
